package com.kekezu.kppw.dataprocess;

import java.util.ArrayList;
import java.util.HashMap;

import android.content.Context;

import com.kekezu.kppw.data.OrderData;

public class OrderDP {
	/**
	 * 雇主购买的服务或作品
	 * 
	 * @param type
	 * @param goodStatus
	 * @param serviceStatus
	 * @param page
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> getGoodOrder(String type,
			String goodStatus, String serviceStatus, int page, Context context) {
		return OrderData.getGoodOrder(type, goodStatus, serviceStatus, page,
				context);
	}

	/**
	 * 卖出的服务订单
	 * 
	 * @param type
	 * @param goodStatus
	 * @param serviceStatus
	 * @param page
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> getSaleOrder(String type,
			String goodStatus, String serviceStatus, int page, Context context) {
		return OrderData.getSaleOrder(type, goodStatus, serviceStatus, page,
				context);
	}
}
